package cn.tedu.luban.gateway.enums;

import com.tedu.inn.protocol.enums.ErrorSupport;

public enum GatewayResultEnum implements ErrorSupport {
    GATEWAY_ERROR("3001", "网关转发错误，服务是否启动，网关是否重启"),
    AUTHENTICATION_ERROR("-999", "认证失败，请检查");
    private String code;
    private String message;

    GatewayResultEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override public String getCode() {
        return this.code;
    }

    @Override public String getMessage() {
        return this.message;
    }
}
